const env = import.meta.env.VITE_APP_API_URL as string;

const apiBase = {
    pageId: 'talents', //上线应用id
    tenantId: '1369923265280311297', //发布平台的租户ID，具体可查看上面的表格 此ID对应的是发布平台用新奥新智租户发布的
    baseURL: 'https://rdfa-gateway.dev.ennew.com/talents-basicapp',
    tenantManageUrl: 'https://rdfa-gateway.dev.ennew.com/talents-induction', //项目后端接口
    XGWAccessKey: 'CpSjNw2L2Ch87jsog9LB4e2efBkLfqx6',
    ossAPPupload: 'http://oss-appupload.icomecloud.com/userInfo/faceUrl/test',
    MonitorJSenv: '',
    EnnAuthJSenv: 'NEW_DEV'
}
if (env == 'prod') {
    apiBase.baseURL = 'https://rdfa-gateway.ennew.com/talents-basicapp'
    apiBase.tenantManageUrl = 'https://rdfa-gateway.dev.ennew.com/talents-induction' //项目后端接口
    apiBase.XGWAccessKey = 'CpSjNw2L2Ch87jsog9LB4e2efBkLfqx6'
    apiBase.ossAPPupload = 'http://oss-appupload.icomecloud.com/userInfo/faceUrl/prod'
} else if (env == 'fat') {
    apiBase.baseURL = 'https://rdfa-gateway.dev.ennew.com/talents-basicapp'
    apiBase.XGWAccessKey = 'CpSjNw2L2Ch87jsog9LB4e2efBkLfqx6'
    apiBase.ossAPPupload = 'http://oss-appupload.icomecloud.com/userInfo/faceUrl/prod'
}
export {
    apiBase
}